<?php 

namespace app\common\validate\ywUser;

use think\Validate;

class UserFingerprint extends Validate 
{ 
    protected $rule = [
        'uid' => 'require',
    ];

    protected $message = [
        'uid.require' => '请输入用户ID',
    ];

    protected $scene = [
        'edit' => ['uid','admin_name','remark','id'],
        'add' => ['uid','admin_name','remark'],
    ];

} 
